import request from '@/utils/request'

// 查询管道统计
export function getPipeCount(query) {
  return request({
    url: '/system/overview/pipe/' + query.centerId,
    method: 'get',
    // params: query
  })
}

// 查询站场统计
export function getStationCount(query) {
  return request({
    url: '/system/overview/yard/' + query.centerId,
    method: 'get',
  })
}
// 查询高后果区统计
export function getGhgCount(query) {
  return request({
    url: '/system/overview/sequent/' + query.centerId,
    method: 'get',
  })
}

// 确认报警饼图
export function getCallPoliceStutas() {
  return request({
    url: '/system/overview/getCallPoliceStutas',
    method: 'get',
  })
}
// 报警饼图统计
export function getCallPolice() {
  return request({
    url: '/system/overview/getCallPolice',
    method: 'get',
  })
}
// 查询报警类型列表
export function getWaringTypeList() {
  return request({
    url: '/system/overview/list',
    method: 'get',
  })
}

